package com.example.demo.service;

import com.example.demo.entity.Info;
import com.example.demo.entity.Report;

import java.util.List;

/**
 * 商品业务接口，负责用戶业务的定义
 * @author Administrator
 */

public interface InfoService {
    /*findPageObjects为自定义的返回方法名*/
    List<Info> findAllInfo();

    List<Info> findAllInfo_Username(String s_username);

    Info findAInfo(int id);

    int deleteAInfo(int id);

    int insertAInfo(Info Info);

    int updateAInfo(Info info);

    int insertAReport(Report report);

    List<Info> matchTitle(String title);

    String findUserByInfoid(int id);
}

